package boot

import (
	"log"
	"server/acgnovel-go/src/config"
	"server/acgnovel-go/src/helper"
)

func DbBoot() {
	go func() {
		err := helper.InitDbHelper()
		if err != nil {
			log.Println("数据库初始化失败！")
			config.ErrorConfig <- err
		}
	}()
}
